package com.github.dice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

public class RoomOwner extends Model<RoomOwner> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "room_owner_id", type = IdType.AUTO)
    private Integer           roomOwnerId;

    private String            roomOwnerName;

    private String            roomOwnerPwd;

    private Integer           isDelete;

    public Integer getRoomOwnerId() {
        return roomOwnerId;
    }

    public void setRoomOwnerId(Integer roomOwnerId) {
        this.roomOwnerId = roomOwnerId;
    }

    public String getRoomOwnerName() {
        return roomOwnerName;
    }

    public void setRoomOwnerName(String roomOwnerName) {
        this.roomOwnerName = roomOwnerName;
    }

    public String getRoomOwnerPwd() {
        return roomOwnerPwd;
    }

    public void setRoomOwnerPwd(String roomOwnerPwd) {
        this.roomOwnerPwd = roomOwnerPwd;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    protected Serializable pkVal() {
        return this.roomOwnerId;
    }

    @Override
    public String toString() {
        return "RoomOwner{" + "roomOwnerId=" + roomOwnerId + ", roomOwnerName=" + roomOwnerName + ", roomOwnerPwd="
                + roomOwnerPwd + ", isDelete=" + isDelete + "}";
    }
}
